package com.example.mylibrary.base

import android.app.Application

abstract class BaseApplication : Application() {
    companion object {
        var instance: Application? = null

        fun instance(): Application = instance!!
    }

    override fun onCreate() {
        super.onCreate()
        instance = this
    }
}